package sdk.webview.fmc.com.fmcsdk.bean;

import java.util.List;

/**
 * H5上传图片
 * Created by ydm on 2017/11/28.
 */

public class PhotoUploadBean {

    /**
     * code : 0
     * msg : 成功
     * type : 1
     * record : [{"id":"935398098518147072","suffix":"png","thumburl":"http://192.168.200.18:6001/api/file/down/thumbimg/935398098518147072.png","type":"IMAGE","url":"http://192.168.200.18:6001/api/file/down/935398098518147072.png"}]
     */

    private int code;
    private String msg;
    private int type;
    private List<RecordBean> data;

    private String ownerId;

    private String ownerObject;

    private String ownerType;



    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<RecordBean> getRecord() {
        return data;
    }

    public void setRecord(List<RecordBean> record) {
        this.data = record;
    }

    public static class RecordBean {
        /**
         * id : 935398098518147072
         * suffix : png
         * thumburl : http://192.168.200.18:6001/api/file/down/thumbimg/935398098518147072.png
         * type : IMAGE
         * url : http://192.168.200.18:6001/api/file/down/935398098518147072.png
         */

        private String id;//图片ID
        private String suffix;
        private String thumburl;//缩略图路径
        private String type;//图片类型
        private String url;//图片路径

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSuffix() {
            return suffix;
        }

        public void setSuffix(String suffix) {
            this.suffix = suffix;
        }

        public String getThumburl() {
            return thumburl;
        }

        public void setThumburl(String thumburl) {
            this.thumburl = thumburl;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

    }

    public List<RecordBean> getData() {
        return data;
    }

    public void setData(List<RecordBean> data) {
        this.data = data;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerObject() {
        return ownerObject;
    }

    public void setOwnerObject(String ownerObject) {
        this.ownerObject = ownerObject;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType;
    }
}
